﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CloneUsingExpressionTree
{
    class Program
    {
        static void Main(string[] args)
        {
            var source = new TestClass();
            source._publicField = 1;
            source.PublicGetSetProperty = 2;
            source.PublicSetOnlyProperty = 3;

            var targer = source.Clone();
        }
    }
}
